<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>background</title>
    <style>
        .test{
            width: 1000px;
            height: 1000px;
            border: 1px solid black;
            background: url("01.jpg")no-repeat fixed;
            background-size: cover;
        }
    </style>
</head>
<body>
<div class="test" >
    
</div>
<div class="te">

</div>
</body>
</html>